package servidor;

import java.util.Random;

public class GeradorDeSessoes {
	
    public static String gerarSessao() {  
        StringBuffer sb = new StringBuffer();
        Random rand = new Random();
        
        for (int i = 0; i < 40; i++)
            sb.append(Integer.toString(Math.abs(rand.nextInt()) % 16, 16));

		return sb.toString();  
    }
}
